package com.opengms.HydroModelsIntegration.Config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: David.Xiao
 * @Date: 2019/2/22 14:31
 * @Description:
 */
@Component
@PropertySource("classpath:MigratoryModelService.properties")
@ConfigurationProperties(prefix = "target-service")
public class MigratoryModelServiceConfig implements IModelServiceConfig{
    private List<String> guids = new ArrayList<>();

    public List<String> getGuids() {
        return guids;
    }

    public void setGuids(List<String> guids) {
        this.guids = guids;
    }


    private List<String> urls = new ArrayList<>();

    public List<String> getUrls() {
        return urls;
    }

    public void setUrls(List<String> urls) {
        this.urls = urls;
    }

    private List<String> wrapperIds = new ArrayList<>();

    public List<String> getWrapperIds() {
        return wrapperIds;
    }

    public void setWrapperIds(List<String> wrapperIds) {
        this.wrapperIds = wrapperIds;
    }

    private List<String> pids = new ArrayList<>();

    public List<String> getPids() {
        return pids;
    }

    public void setPids(List<String> pids) {
        this.pids = pids;
    }
}
